OpenBuildings GenerativeComponents Help

Exercise: Placing the Path Control Points and Curve

To begin the model place four points in an isometric view. These points are the base for the path that goes through the landscape.
  1. Invoke the Place Point tool.

    Select the Point node from the Node Types dialog.

    or

    Select (Point) in the Place Geometry ribbon toolbar.

    or

    Key In: GC POINT PLACE.

  2. Place 4 Point nodes in the model view.
  3. In the Node Types dialog select the BSplineCurve node and drag and drop it into the Graph view. The node bsplineCurve1 is created.
  4. Click on the techniques drop down menu (the different possible ways to create this feature based on various combinations of inputs), and select the ByPoles technique.
    There is only one input Poles required to place the curve. The Poles variable expects a List of points to create a BSplineCurve. The syntax for a List in OpenBuildingsā„¢ GenerativeComponents is: {point1, point2, point3} where each element is separated by commas between opening and closing curly brackets { }.
  5. Position the pointer over the Poles input variable. The Poles input expression field appears. Click inside the expression field.
  6. You can type an expression but you can also select the required pole points. To select existing nodes, hold <Ctrl>, then position the pointer over the points in the model or the Graph view until the name of the feature appears in the input field. Repeating while holding <Ctrl> adds the other points to the poles input.
  7. Set the BSplineCurve node's Order input.
    1. In the Graph, click the downward arrow icon on the bsplineCurve1 node. A drop down menu appears listing all the inputs associated with the BSlineCurve selected technique (ByPoles).
    2. Click the "pushpin" icon next to the Order input.
    3. The Order input is now "pinned" to the bsplineCurve1 node.
    4. Position the pointer over the Order input until its expression field appears, then enter 3 as the value.
    This is the order of the BSplineCurve. The Order is maximum the number of Control Points, which in your design is 4. Order defines the type of curve that is constructed from the point. For instance, an Order of 2 would create a line. The maximum order is 15 and the minimum is 2.

    No Order specified (left). Order 3 (right).

    The BSplineCurve now follows the control polygon defined by the four points.
  8. Record User Changes into Transaction file.